﻿#ifndef INSTRUCTIONTHERMOSTATDISCONNECT
#define INSTRUCTIONTHERMOSTATDISCONNECT
#include "ScriptInstruction.h"

class InstructionThermostatDisconnect :public ScriptInstruction
{
  Q_OBJECT
public:
  explicit InstructionThermostatDisconnect();
  InstructionThermostatDisconnect(InstructionThermostatDisconnect const& instructionThermostatDisconnect);
  InstructionThermostatDisconnect& operator=(InstructionThermostatDisconnect const & instructionThermostatDisconnect);
  virtual ~InstructionThermostatDisconnect();
public:
  virtual void run()override;
  virtual QString toString()override;
  virtual QByteArray toByteArray() override;
  static ScriptInstruction* fromByteArray1(char * const src,int size,int * offset);
};
#endif
